package com.tanhua.server.api;

import com.tanhua.common.pojo.Admin;

public interface AdminService {
    public Admin queryAdminByToken(String token);

    /**
     * 根据用户名和密码查询是否有此用户
     * @return
     */
    public Admin selectByUsernameAndPassword(String userName,String password);
}